<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<% String adminName = request.getParameter("adminName");%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>用户增加</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>

  <body>
  若增加记录的姓名已存在，则添加失败。
    <form method="post" action="create.action">
                id:<input type="text" value="<%=adminName%>" name="adminName" size="2"><br>
      	姓名：<input type="text" name="name" size="5"><br>
    	电话：<input type="text" name="phone" size="8"><br>
    	地址：<input type="text" name="address"><br>
    	分组：<select name="groupName">
				<option value="亲人">亲人</option>
				<option value="朋友">朋友</option>
				<option value="同学">同学</option></select>
    	<input type="submit" value="提交"/>
    	<input type="reset" value="重置" />
    </form><br> 
  </body>
</html>
